package xin.clips.system.domain.gy;


import com.fasterxml.jackson.annotation.JsonFormat;
import xin.clips.common.annotation.Excel;
import xin.clips.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 设备管理对象 gy_device
 *
 * @author clips
 * @date 2023-01-12
 */
public class GyDeviceSource extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    private String name;
    private Float value;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Float getValue() {
        return value;
    }

    public void setValue(Float value) {
        this.value = value;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
